package com.powerteam.vo;

import lombok.Data;

/**
 * 查询结果
 *
 * @Author jinming.zhang
 * @Date 2021/12/30
 */
@Data
public class Result {

    public Result() {
        this.setSuccess(false);
    }

    public Result(boolean success) {
        this.setSuccess(success);
    }

    public Result(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    private boolean success;

    private String message;

    private String code;
}
